<?php

class Router_Simple {
	private $modVarName;
	private $conVarName;
	private $actVarName;
	
	public function __construct($mv = 'm', $cv = 'c', $av = 'a') {
		$this->modVarName = $mv;
		$this->conVarName = $cv;
		$this->actVarName = $av;
	}
	
	public function getModuleName() {
		return isset($_GET[$this->modVarName]) ? $_GET[$this->modVarName] : '';
	}
	
	public function getControllerName() {
		return isset($_GET[$this->conVarName]) ? $_GET[$this->conVarName] : '';
	}
	
	public function getActionName() {
		return isset($_GET[$this->actVarName]) ? $_GET[$this->actVarName] : '';
	}
}